package com.ml.mall.bean.req.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description 新增建议目录dto
 * @author yx
 * @date 2021/9/27
 * @version 1.0
*/
@ApiModel("新增建议目录dto")
@Data
public class SuggestedCategoryNewDto {
    @ApiModelProperty("目录名")
    @NotBlank(message = "目录名不可为空")
    private String categoryName;

    @ApiModelProperty("目录描述")
    @NotBlank(message = "目录名不可为空")
    private String description;
}
